@echo off
echo "********************************************************"
echo "install external dependency jar"
echo "********************************************************"

set localdir=%~dp0
call mvn install:install-file ^
         -Dfile=%localdir%/src/main/lib/alipay-sdk-java.jar ^
         -DgroupId=alipay-sdk-java ^
         -DartifactId=alipay-sdk-java ^
         -Dversion=1.0 ^
         -Dpackaging=jar
call mvn install:install-file ^
         -Dfile=%localdir%/src/main/lib/bcprov-jdk15on-1.54.jar ^
         -DgroupId=bcprov-jdk15on-1.54 ^
         -DartifactId=bcprov-jdk15on-1.54 ^
         -Dversion=1.54 ^
         -Dpackaging=jar
call mvn install:install-file ^
         -Dfile=%localdir%/src/main/lib/lippi-oapi-encrpt.jar ^
         -DgroupId=lippi-oapi-encrpt ^
         -DartifactId=lippi-oapi-encrpt ^
         -Dversion=1.0 ^
         -Dpackaging=jar
call mvn install:install-file ^
         -Dfile=%localdir%/src/main/lib/taobao-sdk-java-auto_1479188381469-20210111.jar ^
         -DgroupId=taobao-sdk-java-auto_1479188381469-20210111 ^
         -DartifactId=taobao-sdk-java-auto_1479188381469-20210111 ^
         -Dversion=1.0 ^
         -Dpackaging=jar
pause